import React,{createContext} from 'react'
import {SetCreateContext} from './App'
export default function childTwo(props) {
const {Consumer}=SetCreateContext
    return (
        <div>
            <Consumer>
              {
                  (value)=>{
                      return Array.isArray(value)&&value.map((item,index)=>{
                          return item
                      })
                  }
              }
               
            </Consumer>
               {console.log(props.Data,'props')}
        </div>
    )
}
